.content {
  display: flex;
  height: 600px;
}

.choose-column {
  border-right: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  width: 300px;
  flex-shrink: 0;
}

.types {
  text-align: center;
  :global(.ant-radio-group) {
    margin: 10px 0;
  }
  :global(.ant-radio-button-wrapper) {
    height: 28px;
    line-height: 26px;
  }
}

.search {
  border: 1px solid #f0f0f0;
  border-width: 1px 0;
  input {
    border-radius: 0;
    border: none;
    outline: none;
    padding: 6px 11px;
  }
  input:focus {
    box-shadow: none;
  }
}

.contact {
  align-items: center;
  display: flex;

  img {
    border-radius: 2px;
    height: 40px;
    margin: 0 10px;
    width: 40px;
  }

  .info {
    flex: 1;
    overflow: hidden;
  }
  .name-row {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    .remark {
      margin-right: 8px;
    }
    .name {
      color: #333;
    }
    .remark + .name {
      color: #aaa;
      font-size: 12px;
    }
  }
  .qywx {
    color: #2f93f1;
    font-size: 12px;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.contacts {
  flex: 1;
  overflow: hidden;
}
.contacts .contact {
  border-bottom: 1px solid #f0f0f0;
  padding: 7px 12px;
  cursor: pointer;
  &:hover {
    background-color: lighten(#5c98e8, 35%);
  }
}
.contacts .contact.disabled {
  cursor: not-allowed;
  &:hover {
    background-color: #fff;
  }
  .remark,
  .name {
    color: #aaa;
  }
}
.contacts .contact.top {
  background-color: #f5f5f5;
}

.choosed-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  & > header {
    color: #999;
    padding: 12px 20px;
  }
}
.choosed {
  flex: 1;
  overflow-y: auto;
}
.choosed .contact {
  padding: 6px 20px 6px 12px;
  &:hover {
    background-color: #fafafa;
  }
  .remove {
    font-size: 20px;
    margin-left: 0.5em;
    user-select: none;
    svg {
      fill: #ccc;
    }
  }
}
